<div class="generalWrap">
	<h1 class="headingTitle"><?php echo $heading_title ?></h1>
	<p class="button"><?php echo anchor('photo/add_album', 'Add Album', 'class="aButton"') ?></p>
	<p class="pagination">&nbsp;</p>
	
	<div class="contentWrap">
		<table class="tblAlbum" width="100%" cellspacing="0">
			<tr>
				<th>Album Name</th>
				<th>Description</th>
				<th width="100" style="text-align:right">Count</th>
			</tr>
			<?php $i = 0 ?>
			<?php foreach ($albums as $album) { ?>
			<tr <?php echo ($i % 2 == 0) ? 'style="background:#EEEEEE"' : 'style="background:#DDDDDD"' ?>>
				<td><?php echo $album['name'] ?></td>
				<td><?php echo $album['desc'] ?></td>
				<td align="right"><span class="count"><?php echo $album['count'] ?></span></td>
				<td align="right"><?php echo $album['edit'] ?></td>
			</tr>
			<?php $i++ ?>
			<?php } ?>
		</table>
	</div>
</div>